Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/#160 해커톤 단건 조회 페이지 구현 #167

Merged
merged 42 commits into from
Aug 26, 2024

Conversation

amaran-th
Copy link
Contributor

@amaran-th amaran-th commented Aug 25, 2024

amaran-th added 30 commits August 13, 2024 15:12
- 정보 유형을 상태로 관리하지 않고 별개의 페이지로 분리

#160
- 팀 Readme 불러오는 로직 구현

#160
@amaran-th amaran-th added ✨ 기능 개발 새로운 기능을 구현하는 데 필요한 작업 또는 변경 사항 🌕 프론트엔드 프론트엔드 개발 labels Aug 25, 2024
@amaran-th amaran-th requested a review from llddang August 25, 2024 13:56
@amaran-th amaran-th self-assigned this Aug 25, 2024
@tkschkim tkschkim merged commit 1eef07b into main Aug 26, 2024
2 checks passed
@tkschkim tkschkim deleted the Feature/#160-해커톤_단건_조회_페이지_구현 branch August 26, 2024 01:06
Comment on lines +8 to +13
const ReadmeViewer = ({ repoUrl }: ReadmeViewerProps) => {
const { data: readme, isPending, isError } = useGithubReadme(repoUrl);
if (isPending) return <div className="flex justify-center flex-grow items-center text-xl text-comment">README 문서를 불러오는 중입니다.</div>;
if(isError||!readme) return <div className="flex justify-center flex-grow items-center text-xl text-comment">README 문서를 불러오는 데 실패했습니다.</div>;
return <MarkdownViewer content={readme} />;
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

굿!!

@@ -29,7 +29,7 @@ function useDivSize(): [React.RefObject<HTMLDivElement>, ComponentSize] {
window.addEventListener('resize', handleResize);

return () => window.removeEventListener('resize', handleResize);
}, []);
}, [componentRef.current?.getBoundingClientRect().top, componentRef.current?.getBoundingClientRect().left]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오홍 이렇게 해결했구나!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ 기능 개발 새로운 기능을 구현하는 데 필요한 작업 또는 변경 사항 🌕 프론트엔드 프론트엔드 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FRONT] 해커톤 단건 조회 페이지 구현
3 participants